package com.example.demo.service;

import com.example.demo.entity.FavoriteEntity;
import com.example.demo.vo.FavoriteVo;

import java.util.List;

public interface FavoriteService {
    List<FavoriteEntity> getUserFavorites(int user_id);
    int addFavorite(FavoriteVo favoriteVo);
    int deleteFavorite(int id);
    int deleteFavoriteByUserAndProduct(int user_id, int products_id);
    boolean isFavoriteExists(int user_id, int products_id);
}